package com.weishu.mapper;

import com.weishu.domain.TbRoomInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liyan
 * @since 2021-07-26
 */
@Mapper
public interface TbRoomInfoMapper extends BaseMapper<TbRoomInfo> {

    //查询
    List<TbRoomInfo> select();

    //添加
    boolean adds(TbRoomInfo roomInfo);

    //添加房源
    boolean addroom(TbRoomInfo room);
}
